package com.ruanhb.wsp.service;

import com.ruanhb.wsp.vo.City;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;


/**
 * Created by r on 2018-9-12
 */
@FeignClient("wsp-city-api")
public interface CityClient {


    @GetMapping("cities")
    List<City> listCity() throws Exception;

}
